export const figureSixOption = {
  title: {
    text: '升级方式',
    left: 'left'
  },
  tooltip: {
    trigger: 'item',
    formatter: function (params) {
      let param = params.data
      return  `总数：${param.totalCount}<br>
      ${param.name}车辆数：${param.count}<br>
      占比：${param.value}%`
    }
  },
  legend: {
    top:'10%',
    left: '3%',
    width: '10%',
  },
  series: [
    {
      type: 'pie',
      radius: '50%',
      data: [],
      center: ['60%', '50%'],
      labelLine: {
        normal: {
          show: false
        }
      },
      label: {
        normal: {
          show: false
        }
      },
      emphasis: {
        itemStyle: {
          shadowBlur: 10,
          shadowOffsetX: 0,
          shadowColor: 'rgba(0, 0, 0, 0.5)'
        }
      }
    }
  ]
};